<!--{include file="_header.html"}-->
<!--{include file="_navibar.html"}-->
<!--{include file="_sidebar.html"}-->

<div class="content">
<div class="header">
  <div class="stats">
    <p class="stat">
      <!--span class="number"></span-->
    </p>
  </div>
  <h1 class="page-title">服务价格</h1>
</div>
<ul class="breadcrumb">
  <li><a href="#">控制面板</a> <span class="divider">/</span></li>
  <li class="active">服务价格</li>
</ul>
<div class="container-fluid">
<div class="row-fluid">
<div class="bb-alert alert alert-info" style="display: none;"> <span>操作成功</span> </div>
<!-- TPLSTART 以上内容不需更改，保证该TPL页内的标签匹配即可 -->
<div class="btn-toolbar"  style="margin-bottom:2px;"> <a href="<!--{Route->GenerateURI Arguments='application:admin|controller:price|method:add'}-->"  class="btn btn-primary"><i class="icon-plus"></i> 新增套系</a> <a data-toggle="collapse" data-target="#search"  href="#" title= "检索" style="display:none;">
  <button class="btn btn-primary" style="margin-left:5px"><i class="icon-search"></i></button>
  </a> </div>
<div id="search" class="collapse out" >
  <form class="form_search"  action="" method="GET" style="margin-bottom:0px">
    <div style="float:left;margin-right:5px">
      <label>选择菜单模块</label>
      <select name="module_id" class="input-xlarge" id="DropDownTimezone">
        <option value="0" class="input-xlarge option" id="DropDownTimezone-0">全部</option>
        <option value="1" class="input-xlarge option" id="DropDownTimezone-1">控制面板</option>
        <option value="2" class="input-xlarge option" id="DropDownTimezone-2">样例模块</option>
        <option value="4" class="input-xlarge option" id="DropDownTimezone-3">新闻管理</option>
        <option value="5" class="input-xlarge option" id="DropDownTimezone-4">产品管理</option>
        <option value="6" class="input-xlarge option" id="DropDownTimezone-5">ddddd</option>
      </select>
    </div>
    <div style="float:left;margin-right:5px">
      <label>查询所有请留空</label>
      <input type="text" name="menu_name" value="" placeholder="输入菜单名称" >
      <input type="hidden" name="search" value="1" >
    </div>
    <div class="btn-toolbar" style="padding-top:25px;padding-bottom:0px;margin-bottom:0px">
      <button type="submit" class="btn btn-primary">检索</button>
    </div>
    <div style="clear:both;"></div>
  </form>
</div>
<div class="block"> <a href="#page-stats" class="block-heading" data-toggle="collapse">套系列表</a>
  <div id="page-stats" class="block-body collapse in">
    <table class="table table-striped">
      <thead>
        <tr>
          <th width="30">序号</th>
          <th>套系名称</th>
          <th width="60">价格</th>
          <th width="80">排序号码</th>          
          <th width="90">发布日期</th>
          <th width="75">操作选项</th>
        </tr>
      </thead>
      <tbody>
      <!--{foreach name=PriceList item=Row from=$Data}-->
        <tr>
          <td><!--{$smarty.foreach.PriceList.index+1}--></td>
          <td><!--{$Row.Name}--></td>
          <td><!--{$Row.Price}--></td>
          <td><strong><!--{$Row.OrderNumber}--></strong></td>
          <td><!--{$Row.Datetime|date_format:"%Y-%m-%d"}--></td>
          <td><a href="./?application=admin&controller=price&method=edit&id=<!--{$Row.ID}-->" title= "修改" ><i class="icon-pencil"></i></a> &nbsp;
           <a data-toggle="modal" href="#myModal"  title= "删除" >
           <i class="icon-remove" href="./?application=admin&controller=price&method=delete&id=<!--{$Row.ID}-->" data-toggle="modal" ></i></a></td>
        </tr>
      <!--{/foreach}-->
      </tbody>
    </table>
<script>
$('.icon-remove').click(function(){
		
		var href=$(this).attr('href');
		bootbox.confirm('确定要这样做吗？', function(result) {
			if(result){

				location.replace(href);
			}
		});		
	})
	
</script>
    <!--- START 分页模板 --->
    <div class="pagination" style="display:none;">
      <ul>
        <li><span>1</span></li>
        <li><a href=" menus.php?module_id=&menu_name=&search=&page_no=2 ">2</a></li>
        <li><a href="menus.php?module_id=&menu_name=&search=&page_no=2">下一页</a></li>
        <li><a href="menus.php?module_id=&menu_name=&search=&page_no=2">末页</a></li>
        <li><a>1/2</a></li>
        <li><a>共28条</a></li>
      </ul>
    </div>
    <!--- END 分页--->
  </div>
</div>
<!--{include file="_footer_common.html"}-->
<!--{include file="_footer.html"}-->
